package work;

import java.io.FileInputStream;
import java.io.IOException;

public class FinallyDemo2 {
    //finally语句块中嵌套trycatch
    public static void main(String[] args) {
        FileInputStream fis = null;
        try {
             fis=new FileInputStream("./kj/loo/lk.txt");
            
        }catch(Exception e){
            System.out.println(e);
        }finally {
            try {
                fis.close();
            } catch (Exception e) {
               // e.printStackTrace();
                System.out.println(e);
            }
        }
        System.out.println("结束,,,");
    }
}
